class Animal:
    name = 'Animal'

class Dog(Animal):
    name = 'Dog'
    def show(self):
        print('dog-----')

dog=Dog()
print(dog.name)